<template>
  <div>
    profile
    <svg-icon name="setting" />
    <icon-account-box style="font-size: 2em; color: red" />
    <EpArrowDownBold style="font-size: 2em; color: red" />
  </div>
</template>
<script setup>
import { storeToRefs } from 'pinia'
import IconAccountBox from "~icons/mdi/account-box";
import EpArrowDownBold from '~icons/ep/arrow-down-bold'
import { useUserStore } from '@/stores/user'
const userStore = useUserStore()
const { user } = storeToRefs(userStore)
// 获取用户数据

// 设置用户数据
userStore.setUser({ name: 'John Doe', age: 30 });

</script>
<style lang="scss" scoped>

</style>